import React from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter as Router, Route, Link } from "react-router-dom";
import { Provider } from 'mobx-react';
import appStore from './AppState';
import Layout from './layout';
import 'antd/dist/antd.less';

const App = () => {
    return (
        <Router>
            <Layout />
        </Router>
    );
};

ReactDOM.render(
    <Provider app={appStore}>
        <App />
    </Provider>,
    document.getElementById('root')
);